home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / c / icu-1.3.1 / icuapps / uconv / makefile.in next >
Makefile  |  2000-02-23  |  2KB  |  78 lines

  1. ## Makefile.in for ICU - example/usort/client
  2. ## Steven  R. Loomis
  3.  
  4. srcdir=@srcdir@
  5. top_srcdir=@top_srcdir@
  6.  
  7. # srcdir must be set before this is included
  8. include @ICU_MAKEFILE@
  9.  
  10.  
  11. ## Build directory information
  12. top_builddir = ..
  13. subdir = uconv
  14.  
  15. ## Extra files to remove for 'make clean'
  16. CLEANFILES = *~
  17.  
  18. ## Target information
  19. TARGET = uconv
  20.  
  21. OBJECTS = uconv.o
  22.  
  23. DEPS = $(OBJECTS:.o=.d)
  24.  
  25. ## List of phony targets
  26. .PHONY : all all-local install install-local clean clean-local \
  27. distclean distclean-local dist dist-local check check-local
  28.  
  29. ## Clear suffix list
  30. .SUFFIXES :
  31.  
  32. ## List of standard targets
  33. all: all-local
  34. install: install-local
  35. clean: clean-local
  36. distclean : distclean-local
  37. dist: dist-local
  38. check: check-local
  39.  
  40. all-local: $(TARGET)
  41.  
  42. install-local: all-local install-target
  43.  
  44. mkinstalldirs = $(SHELL) $(sbindir)/mkinstalldirs
  45.  
  46. install-target: all-local
  47.     $(mkinstalldirs) $(bindir)
  48.     $(INSTALL) $(TARGET) $(bindir)/$(TARGET)
  49.  
  50. dist-local:
  51.  
  52. clean-local:
  53.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  54.     rm -f $(OBJECTS) $(TARGET)
  55.  
  56. distclean-local: clean-local
  57.     rm -f Makefile $(DEPS)
  58.  
  59. check-local:
  60.  
  61. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  62.     cd $(top_builddir) \
  63.      && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  64.  
  65. # ICULIBS includes all standard ICU libraries.
  66. # if we wanted only part of the ICU, we could use (for example) just
  67. #         '$(LIBS) -licu-uc -lusort' ...
  68.  
  69. $(TARGET) : $(OBJECTS)
  70.     $(LINK.c) -o $@ $^ $(ICULIBS)
  71.  
  72. ifneq ($(MAKECMDGOALS),distclean)
  73. -include $(DEPS)
  74. endif
  75.  
  76.  
  77.  
  78.